package com.kehutong.work.order.manage.enums;

import org.coraframework.util.HashID;

public enum WorkOrderHandleStateEnum implements HashID {

    CREATE("1", "创建工单"),
    EDIT("2", "编辑工单"),
    REVOKE("3", "撤销工单"),
    REFUND("4", "退回工单"),
    SEND("5", "工单转交"),
    SUCCESS("6", "完结工单"),
    SIGN_IN("7", "工单签到"),
    COMMENT("8", "完成评论"),// 只有用户发起的工单才有此状态
    ASSIGN("9", "分配工单"),

    ;

    private final String id;
    private final String desc;

    private WorkOrderHandleStateEnum(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }


    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
